<!-- agents top nav -->

<!--<h1><font color="red">Agent tab is under maintenance.</font></h1> -->
<ul class="nav nav-tabs">

<li #{if (page == "index")} class="active" #{/if}><a href="/commands"><i class="fa fa-search"></i> Summary</a></li>
<li #{if (page == "wizard")} class="active" #{/if}><a href="/commands/wizard"><i class="fa fa-magic"></i> Wizard</a></li>
<li #{if (page == "editConfigagentcommand")} class="active" #{/if}><a href="/config/editConfig/agentcommand" target="_blank" ><i class="fa fa-pencil"></i> Edit Command Config</a></li>
<li #{if (page == "getAgentCommand")} class="active" #{/if}><a href="/config/getAgentCommand" target="_blank" ><i class="fa fa-search"></i> Current Commands</a></li>
<li #{if (page == "commonCommands")} class="active" #{/if}><a href="/commands/common"><i class="fa fa-search"></i> Common</a></li>
<li #{if (page == "reloadConfig")} class="active" #{/if}><a href="/config/reloadConfig?type=AGENTCOMMAND"  target="_blank" ><i class="fa fa-refresh"></i> Reload Config </a></li>



</ul>
<div class="row">

</div>	


<script type="text/javascript">
var getHttpMethodLabel=function(httpMethod){


	var output = null;
	if(httpMethod=== "GET"){
		output ="<span class=\"label label-success\">" + httpMethod + "</span> ";
	} else if(httpMethod=== "POST" || httpMethod=== "PUT"){
		output ="<span class=\"label label-warning\">" + httpMethod + "</span> ";
	} else if(httpMethod=== "DELETE"){
		output ="<span class=\"label label-important\">" + httpMethod + "</span> ";
	}

	 document.write(output);

	 return;
}
</script>